<script setup>
  import { ref } from 'vue'
  const count = ref(0)
  defineProps(['btnName'])
</script>

<template>
  <h2>组键名称:{{ btnName }}</h2>
  <button @click="count++">你点击了 {{ count }} 次.</button>
</template>